﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo05
{
    class User
    {
        public User(string num, string name, string section)
        {
            this.Num = num;
            this.Name = name;
            this.Section = section;
        }
        public string Num { get; set; }
        public string Name { get; set; }
        public string Section { get; set; }

        public void Staff()
        {
            Console.WriteLine("员工号:" + this.Num);
            Console.WriteLine("员工名字:" + this.Name);
            Console.WriteLine("员工部门:" + this.Section);
        }
    }
}
